﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo.Model.Tables
{
    public class Products
    {
        [Key, DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public Guid ID { get; set; }
        [StringLength(50)]
        public string Name { get; set; }
        public int Quantity { get; set; }
        [StringLength(100)]
        public string Description { get; set; }
        public decimal Price { get; set; }
    }
}
